home *** CD-ROM | disk | FTP | other *** search
/ Explorer - Mosaic & Web / Explorer - Mosaic & Web.iso / urbstuff / unix / roadmap < prev    next >
Encoding:
Text File  |  1995-02-05  |  2.0 KB  |  50 lines

  1.  # This is a script file to display Roadmap lessons.  Save it to your disk
  2.  # by entetering "e" if you are using Pine.  When prompted for a name enter
  3.  # roadmap.  Exit your mail program and edit out the mail information  
  4.  # from this file.  From the command line enter:
  5.  #   acy1% pico roadmap
  6.  # When the file is displayed in the pico editor, press Ctrl and while 
  7.  # holding it down press k, for each line you want to delete.  When 
  8.  # finished deleting lines, exit pico saving the file.  Press Ctrl and
  9.  # while holding it down press x the exit the editor.  It will ask if you
  10.  # want to save the file and you will press y.  It will then ask if you 
  11.  # want to save it as roadmap and you can just press the enter (return) 
  12.  # key. One last step.  You must make the file executable.  At the prompt
  13.  # enter:
  14.  #   acy1% chmod +x roadmap
  15.  # That's it, from that point on just enter:
  16.  #   acy1% roadmap course-name
  17.  # replacing course-name with the name of the course you want.  As an 
  18.  # example, to get the index of the course, enter:
  19.  #   acy% roadmap map.idx
  20.  # 
  21.  # -------------------------  cut here ----------------------------------
  22.  # Script "roadmap" is used to display a lesson from the Roadmap workshop 
  23.  # on your terminal.
  24.  # 
  25.  # The syntax is:
  26.  #              roadmap specific-lesson
  27.  # replace specific-lesson with the specific lesson you would like to display.
  28.  # as an example, to obtain the index for the course enter:
  29.  #              roadmap map.idx
  30.  #
  31.  # test to see if there is a passed parameter
  32.  #
  33. if test -z "$1"  
  34.   then # There is no passed parameter
  35.     echo " "
  36.     echo "The syntax for this script is:"
  37.     echo "     roadmap <which-lesson>"
  38.     echo "replacing <which-lesson> (without the <>) with"
  39.     echo "the specific course you want to display.  If you would"
  40.     echo "like to see the index, enter:"
  41.     echo " "
  42.     echo "     roadmap map.idx"
  43.     echo
  44.   else  # There is a passed parameter
  45.     # Display the file
  46.     more /homeb/sjiug/map/"$1"
  47. fi # end if
  48.  
  49.  
  50.